package ${package.Controller};

import ${package.Entity}.${table.entityName};
import ${package.Service}.${table.serviceName};
import com.tang.utils.BaseController;
import lombok.Getter;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
/**
 * <p>
 * ${table.comment!}前端控制器
 * </p>
 *
 * @author ${author}
 */
@RestController
@RequestMapping("<#if package.ModuleName?? && package.ModuleName != "">/${package.ModuleName}</#if>/<#if controllerMappingHyphenStyle>${controllerMappingHyphen}<#else>${table.entityPath}</#if>")
public class ${table.controllerName} extends BaseController<${table.entityName}> {
    @Getter
    @Autowired
    ${table.serviceName} service;
}
